Conversation
| "topmostSubform[0].Copy#{tax_form_copy}[0].LeftColumn[0].f1_28[0]" => normalized_tax_field(billing_entity_name), | ||
| "topmostSubform[0].Copy#{tax_form_copy}[0].LeftColumn[0].f1_29[0]" => country_code, | ||
| "topmostSubform[0].Copy#{tax_form_copy}[0].LeftColumn[0].f1_30[0]" => normalized_street_address, | ||
| "topmostSubform[0].Copy#{tax_form_copy}[0].RightColumn[0].f1_31[0]" => normalized_tax_field(full_city_address), |
There was a problem hiding this comment.
On the new template LeftCol changed to LeftColumn and RightCol changed to RightColumn. And f1_31 moved from LeftColumn to RightColumn
|
|
||
| class TaxDocuments::Form1099necSerializer < TaxDocuments::BaseSerializer | ||
| TAX_FORM_COPIES = %w[A 1 B 2 C].freeze | ||
| TAX_FORM_COPIES = %w[A 1 B 2].freeze |
There was a problem hiding this comment.
Copy C no longer exist
| "topmostSubform[0].Copy#{tax_form_copy}[0].LeftCol[0].f#{page_number}_7[0]" => normalized_tax_field(full_city_address), | ||
| # Nonemployee compensation | ||
| "topmostSubform[0].Copy#{tax_form_copy}[0].RightColumn[0].f#{page_number}_9[0]" => compensation_amount_for_tax_year(tax_year), | ||
| "topmostSubform[0].Copy#{tax_form_copy}[0].RightCol[0].f#{page_number}_9[0]" => compensation_amount_for_tax_year(tax_year), |
There was a problem hiding this comment.
LeftColumn changed to LeftCol and RightColumn changed to RightCol
|
|
||
| private | ||
| def header_for(tax_form_copy) | ||
| case tax_form_copy |
There was a problem hiding this comment.
header_for method no longer needed, all copies now use PgHeader
|
|
||
| result = { | ||
| "topmostSubform[0].Copy#{tax_form_copy}[0].Copy#{tax_form_copy}Header[0].CalendarYear[0].f#{page_number}_1[0]" => formatted_tax_year, | ||
| "topmostSubform[0].Copy#{tax_form_copy}[0].CopyHeader[0].CalendarYear[0].f#{page_number}_1[0]" => tax_year.to_s, |
|
|
||
| { | ||
| "topmostSubform[0].Copy#{tax_form_copy}[0].#{header_for(tax_form_copy)}Header[0].CalendarYear[0].f#{page_number}_1[0]" => tax_year.to_s.last(2), | ||
| "topmostSubform[0].Copy#{tax_form_copy}[0].PgHeader[0].CalendarYear[0].f#{page_number}_1[0]" => tax_year.to_s, |
|
|
@ershad _a
|
|
@nyomanjyotisa _a looks good to me from a quick look. Could you confirm with @steveo-es? That would be much better, he would know the answer to the second question too. Please reach out to him via Google Chat, also please provide him context on the changes. |
|
Is this for Gumroad and other Flexile clients? Have we already issued these? |
|
@steveo-es Yes this is for all Flexile clients. We have already generated all the forms and already visible to all the users. But then some users contacted the support team about this issue.
And for 1099-NEC we already filed them. ref https://chat.google.com/room/AAQAWojMDVI/tDzAeGj8Lrw/tDzAeGj8Lrw?cls=10 |
|
If they were all filed and accepted by the IRS, then we should be good to just issue corrections when requested. |
|
Currently only 1099-NEC filed, 1099-DIV and 1042-S not filed yet. But all already issued to users. In this case should we just issue corrections when requested by the users? And can you help to confirm the After fix in here are correct? |
|
Well the 1042's will need to be reissued since they clearly have the wrong year. And since they haven't been submitted to the IRS yet, probably best we reissue the corrected forms for all three types. If possible with a note that they have been corrected and disregard the prior forms received. |






Issue: https://chat.google.com/room/AAQAWojMDVI/cvwCBw-61Yo/030bMO0dPdk?cls=10
Description
Update tax form PDF templates to 2025 versions and update serializer code to match the new field naming conventions
Problem
The 1042-S and 1099-NEC PDF templates were outdated (2024 versions). The IRS releases new versions of these forms each tax year with updated templates
We don't show "For calendar year" for 1099-DIV, and wrong year format on 1099-NEC
Solution
Updated the 1042-S and 1099-NEC PDF templates to their 2025 versions and modified the corresponding serializers to match the new field naming conventions. 1099-DIV not updated since the current template already the latest template, see https://www.irs.gov/forms-pubs/about-form-1099-div
Updated the "For calendar year" serializer for 1099-DIV and 1099-DEV
Before/After
Before
After
1042-S
1099-NEC
1099-DIV
AI Disclosure
Claude Opus 4.5 for code generation, all code self reviewed.